package com.dt76.smallloanbackenduser.hystrix.lhuaw;


import com.dt76.smallloanbackenduser.pojo.lhuaw.StationLetter;
import com.dt76.smallloanbackenduser.remote.lhuaw.StationLettertest;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class stationHystrix implements StationLettertest {

    @Override
    public List<StationLetter> qryAll() {
        return new ArrayList<>();
    }

    @Override
    public Page qryStationConditionPageAll(int pageIndex, String stationMessageTitle, String stationPublisher) {
        return new Page();
    }

    @Override
    public Result delStation(int stationId) {
        return new Result();
    }

    @Override
    public Result addStation(StationLetter stationLetter) {
        return new Result();
    }

    @Override
    public StationLetter seeStation(int stationId) {
        return new StationLetter();
    }
}
